import axios from '@/utils/request';

export function getLoadButtonIsShow(params) {
    return axios.post({
        url: '/config-shipper/loadButtonIsShow',
        data: params
    }).then((res) => {
        return res
    })
}

export function getConfigShipperListAll(params) {
    return axios.post({
        url: '/config-shipper/listAll',
        data: params
    }).then((res) => {
        return res
    })
}
export function getConfigShipperList(params) {
    return axios.post({
        url: '/config-shipper/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editConfigShipper(params) {
    return axios.post({
        url: '/config-shipper/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteConfigShipper(params) {
    return axios.post({
        url: '/config-shipper/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadConfigShipper(params) {
    return axios.post({
        url: '/config-shipper/load',
        data: params
    }).then((res) => {
        return res
    })
}

